package cn.hxth.dubbo.service;

import cn.hxth.dubbo.service.redis.RedisObjectSerializer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ImportResource;
import org.springframework.data.redis.connection.RedisConnectionFactory;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.serializer.StringRedisSerializer;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.client.RestTemplate;

@SpringBootApplication
@EnableTransactionManagement
@ImportResource("classpath:spring-dubbo.xml")
public class HxthServiceApplication {



	public static void main(String[] args) {
		SpringApplication.run(HxthServiceApplication.class, args);
	}
}
